#! /bin/bash

#Script used to test grades
#to run a java jar file, you enter location
#example you cd to folder /ittqa2b04
#then java -jar Grades.jar
# after you create shell, you have to change permission
# to do this you write chmod +x (script name) in order to run it
# svn add (filename)
#svn commit
#enter username of 2b04... and password

echo "Start of Script"
echo "Test 1 10 39"
echo "Expected output Component Fail"
java -jar Grades.jar 10 39
echo "----------------------"
echo "Test 2 40 50"
echo "Expected output Component Fail"
java -jar Grades.jar 40 50
echo "----------------------"
echo "Test 3 52 70"
echo "Expected output Pass"
java -jar Grades.jar 52 70
echo "----------------------"
echo "Test 4 72 80"
echo "Expected output Pass"
java -jar Grades.jar 72 80
echo "----------------------"
echo "Test 5 82 90"
echo "Expected output Pass with Distinction"
java -jar Grades.jar 82 90
echo "----------------------"
echo "Test 6 91 100"
echo "Expected output Pass with Distinction"
java -jar Grades.jar 91 100
echo "----------------------"
echo "Test 7 100 100"
echo "Expected output Pass with Distinction"
java -jar Grades.jar 100 100
